﻿#ifndef FORMCHANNELCOEFFICIENT_H
#define FORMCHANNELCOEFFICIENT_H

#include <QWidget>

namespace Ui {
class FormChannelCoefficient;
}

class FormChannelCoefficient : public QWidget
{
    Q_OBJECT

public:
    explicit FormChannelCoefficient(QWidget *parent = nullptr);
    ~FormChannelCoefficient();

    void setChannelCoefficient(const QList<double>& coefficientList);

private:
    void initUI();
    void init();

private:
    Ui::FormChannelCoefficient *ui;

private:
    // 是否将要修改
    bool m_willModify;

signals:
    void sigUpdateChannelCoefficient(const QList<double>& coefficientList);

private slots:
    void onModify();
    void onSave();
};

#endif // FORMCHANNELCOEFFICIENT_H
